package baidu

import (
	"net/http"
	"net/http/httputil"
)

type Retriever struct {
	url string
	name string
}

func (Retriever) Get(url string) string {
	resp, err := http.Get(url)
	if err != nil {
		panic(err)
	}
	response, err := httputil.DumpResponse(resp,true)
	resp.Body.Close()
	if err != nil {
		panic(err)
	}
	return string(response)

}


